PROGRAM=aureal-time
CC=gcc
FLAGS=-Wall
LIBS=-lm

all: $(PROGRAM)

clean:
	-rm $(PROGRAM).o

test: all
	-./$(PROGRAM)

$(PROGRAM): $(PROGRAM).o
	$(CC) $^ -o $@ $(LIBS)

$(PROGRAM).o: $(PROGRAM).c
	$(CC) -c $^ -o $@ $(FLAGS)
